<!DOCTYPE html>
<html>

<head>
    <title>测试注册</title>
</head>

<body>
    <h2>测试用户注册</h2>
    <form action="http://localhost:5000/register" method="post">
        <div>
            <label for="username">用户名:</label>
            <input type="text" id="username" name="username" value="testuser" required>
        </div>
        <div>
            <label for="email">邮箱:</label>
            <input type="email" id="email" name="email" value="test@example.com" required>
        </div>
        <div>
            <label for="password">密码:</label>
            <input type="password" id="password" name="password" value="password123" required>
        </div>
        <div>
            <label for="confirm_password">确认密码:</label>
            <input type="password" id="confirm_password" name="confirm_password" value="password123" required>
        </div>
        <div>
            <button type="submit">注册</button>
        </div>
    </form>
</body>

</html>